// Karma configuration file, see link for more information
// https://karma-runner.github.io/0.13/config/configuration-file.html

module.exports = function (config) {
    config.set({
        basePath: '',
        frameworks: ['jasmine', '@angular-devkit/build-angular'],
        plugins: [
            require('karma-jasmine'),
            require('karma-chrome-launcher'),
            require('karma-jasmine-html-reporter'),
            require('karma-coverage-istanbul-reporter'),
            require('@angular-devkit/build-angular/plugins/karma')
        ],
        client:{
            clearContext: false // leave Jasmine Spec Runner output visible in browser
        },
        mime: {
            'text/x-typescript': ['ts','tsx']
        },
        coverageIstanbulReporter: {
            dir: require('path').join(__dirname, './coverage/dcm4chee-arc-ui2'),
            reports: [ 'html', 'lcovonly', 'text-summary' ],
            fixWebpackSourcePaths: true
        },
        files:[
            "src/app/constants/dcm4che-dict-names.js",
            "src/app/constants/dcm4chee-arc-dict-names.js",
            "src/app/constants/dcm4che-dict-cuids.js",
            "src/app/constants/dcm4che-dict-tsuids.js",
            "src/app/constants/elscint-dict-names.js",
            "src/app/constants/acuson-1.2.840.113680.1.0-7ffe.js",
            "src/app/constants/acuson-1.2.840.113680.1.0-7f10.js",
            "src/app/constants/acuson.js",
            "src/app/constants/acuson-1.2.840.113680.1.0-0910.js",
            "src/app/constants/agfa-adc-compact-dict-names.js",
            "src/app/constants/agfa-adc-nx-dict-names.js",
            "src/app/constants/agfa-ag-hpstate-dict-names.js",
            "src/app/constants/agfa-dict-names.js",
            "src/app/constants/agfa-displayable-images-dict-names.js",
            "src/app/constants/agfa-kosd-1.0-dict-names.js",
            "src/app/constants/agfa-pacs-archive-mirroring-1.0-dict-names.js",
            "src/app/constants/agfa-xeroverse-dict-names.js",
            "src/app/constants/agility-overlay-dict-names.js",
            "src/app/constants/agility-runtime-dict-names.js",
            "src/app/constants/mitra-linked-attributes-1.0-dict-names.js",
            "src/app/constants/mitra-markup-1.0-dict-names.js",
            "src/app/constants/mitra-object-attributes-1.0-dict-names.js",
            "src/app/constants/mitra-object-document-1.0-dict-names.js",
            "src/app/constants/mitra-object-utf8-attributes-1.0-dict-names.js",
            "src/app/constants/mitra-presentation-1.0-dict-names.js",
            "src/app/constants/CARDIO-D.R.-1.0.js",
            "src/app/constants/DIDI-TO-PCR-1.1.js",
            "src/app/constants/PHILIPS-IMAGING-DD-001-1.js",
            "src/app/constants/PHILIPS-MR.js",
            "src/app/constants/PHILIPS-MR-IMAGING-DD-001-1.js",
            "src/app/constants/PHILIPS-MR-R5.5-PART.js",
            "src/app/constants/PHILIPS-MR-R5.6-PART.js",
            "src/app/constants/PHILIPS-MR-SPECTRO-1.js",
            "src/app/constants/PHILIPS-MR-LAST.js",
            "src/app/constants/PHILIPS-MR-PART.js",
            "src/app/constants/PHILIPS-MR-PART-12.js",
            "src/app/constants/PHILIPS-MR-PART-6.js",
            "src/app/constants/PHILIPS-MR-PART-7.js",
            "src/app/constants/PHILIPS-NM--Private.js",
            "src/app/constants/PHILIPS-XCT--Private.js",
            "src/app/constants/PHILIPS-MR-1.js",
            "src/app/constants/PMS-THORA-5.1.js",
            "src/app/constants/Philips-EV-Imaging-DD-022.js",
            "src/app/constants/Philips-Imaging-DD-001.js",
            "src/app/constants/Philips-Imaging-DD-002.js",
            "src/app/constants/Philips-Imaging-DD-065.js",
            "src/app/constants/Philips-Imaging-DD-067.js",
            "src/app/constants/Philips-Imaging-DD-070.js",
            "src/app/constants/Philips-Imaging-DD-073.js",
            "src/app/constants/Philips-Imaging-DD-124.js",
            "src/app/constants/Philips-Imaging-DD-129.js",
            "src/app/constants/Philips-MR-Imaging-DD-001.js",
            "src/app/constants/Philips-MR-Imaging-DD-002.js",
            "src/app/constants/Philips-MR-Imaging-DD-003.js",
            "src/app/constants/Philips-MR-Imaging-DD-004.js",
            "src/app/constants/Philips-MR-Imaging-DD-005.js",
            "src/app/constants/Philips-MR-Imaging-DD-006.js",
            "src/app/constants/Philips-NM-Private-Group.js",
            "src/app/constants/Philips-PET-Private-Group.js",
            "src/app/constants/Philips-RAD-Imaging-DD-001.js",
            "src/app/constants/Philips-RAD-Imaging-DD-097.js",
            "src/app/constants/Philips-US-Imaging-DD-017.js",
            "src/app/constants/Philips-US-Imaging-DD-021.js",
            "src/app/constants/Philips-US-Imaging-DD-023.js",
            "src/app/constants/Philips-US-Imaging-DD-033.js",
            "src/app/constants/Philips-US-Imaging-DD-034.js",
            "src/app/constants/Philips-US-Imaging-DD-035.js",
            "src/app/constants/Philips-US-Imaging-DD-036.js",
            "src/app/constants/Philips-US-Imaging-DD-037.js",
            "src/app/constants/Philips-US-Imaging-DD-038.js",
            "src/app/constants/Philips-US-Imaging-DD-039.js",
            "src/app/constants/Philips-US-Imaging-DD-040.js",
            "src/app/constants/Philips-US-Imaging-DD-041.js",
            "src/app/constants/Philips-US-Imaging-DD-042.js",
            "src/app/constants/Philips-US-Imaging-DD-043.js",
            "src/app/constants/Philips-US-Imaging-DD-045.js",
            "src/app/constants/Philips-US-Imaging-DD-046.js",
            "src/app/constants/Philips-US-Imaging-DD-048.js",
            "src/app/constants/Philips-US-Imaging-DD-065.js",
            "src/app/constants/Philips-US-Imaging-DD-066.js",
            "src/app/constants/Philips-US-Imaging-DD-109.js",
            "src/app/constants/Philips-US-Imaging-DD-113.js",
            "src/app/constants/Philips-X-ray-Imaging-DD-001.js",
            "src/app/constants/SPI-Release-1.js",
            "src/app/constants/SPI-P-Release-1.js",
            "src/app/constants/SPI-P-Release-1-1.js",
            "src/app/constants/SPI-P-Release-1-2.js",
            "src/app/constants/SPI-P-Release-1-3.js",
            "src/app/constants/SPI-P-Release-2-1.js",
            "src/app/constants/SPI-P-CTBE-Release-1.js",
            "src/app/constants/SPI-P-CTBE-Private-Release-1.js",
            "src/app/constants/SPI-P-GV-CT-Release-1.js",
            "src/app/constants/SPI-P-PCR-Release-2.js",
            "src/app/constants/SPI-P-Private-CWS-Release-1.js",
            "src/app/constants/SPI-P-Private-DCI-Release-1.js",
            "src/app/constants/SPI-P-Private-DiDi-Release-1.js",
            "src/app/constants/SPI-P-Private_CDS-Release-1.js",
            "src/app/constants/SPI-P-Private_ICS-Release-1.js",
            "src/app/constants/SPI-P-Private_ICS-Release-1-1.js",
            "src/app/constants/SPI-P-Private_ICS-Release-1-2.js",
            "src/app/constants/SPI-P-Private_ICS-Release-1-3.js",
            "src/app/constants/SPI-P-Private_ICS-Release-1-4.js",
            "src/app/constants/SPI-P-Private_ICS-Release-1-5.js",
            "src/app/constants/SPI-P-XSB-DCI-Release-1.js",
            "src/app/constants/SPI-P-XSB-VISUB-Release-1.js",
            "src/app/constants/BioPri3D.js",
            "src/app/constants/CARDIO-D.R.-1.0-siemens.js",
            "src/app/constants/DIGISCAN-IMAGE.js",
            "src/app/constants/ESOFT_DICOM_ECAT_OWNERCODE.js",
            "src/app/constants/FFP-DATA.js",
            "src/app/constants/ISI.js",
            "src/app/constants/KINETDX.js",
            "src/app/constants/KINETDX_GRAPHICS.js",
            "src/app/constants/PMI-Private-Calibration-Module-Version-2.0.js",
            "src/app/constants/POLYTRON-SMS-2.5.js",
            "src/app/constants/SHS-MagicView-300.js",
            "src/app/constants/SIEMENS-AX-INSPACE_EP.js",
            "src/app/constants/SIEMENS-CM-VA0--ACQU.js",
            "src/app/constants/SIEMENS-CM-VA0--CMS.js",
            "src/app/constants/SIEMENS-CM-VA0--LAB.js",
            "src/app/constants/SIEMENS-CSA-ENVELOPE.js",
            "src/app/constants/SIEMENS-CSA-HEADER.js",
            "src/app/constants/SIEMENS-CSA-NON-IMAGE.js",
            "src/app/constants/SIEMENS-CSA-REPORT.js",
            "src/app/constants/SIEMENS-CT-APPL-DATASET.js",
            "src/app/constants/SIEMENS-CT-APPL-EVIDENCEDOCUMENT.js",
            "src/app/constants/SIEMENS-CT-APPL-MEASUREMENT.js",
            "src/app/constants/SIEMENS-CT-APPL-PRESENTATION.js",
            "src/app/constants/SIEMENS-CT-APPL-TMP-DATAMODEL.js",
            "src/app/constants/SIEMENS-CT-VA0--COAD.js",
            "src/app/constants/SIEMENS-CT-VA0--GEN.js",
            "src/app/constants/SIEMENS-CT-VA0--IDE.js",
            "src/app/constants/SIEMENS-CT-VA0--ORI.js",
            "src/app/constants/SIEMENS-CT-VA0--OST.js",
            "src/app/constants/SIEMENS-CT-VA0--RAW.js",
            "src/app/constants/SIEMENS-DFR.01-MANIPULATED.js",
            "src/app/constants/SIEMENS-DFR.01-ORIGINAL.js",
            "src/app/constants/SIEMENS-DICOM.js",
            "src/app/constants/SIEMENS-DLR.01.js",
            "src/app/constants/SIEMENS-IKM-CKS-CXRCAD-FINDINGS.js",
            "src/app/constants/SIEMENS-IKM-CKS-LUNGCAD-BMK.js",
            "src/app/constants/SIEMENS-IMAGE-SHADOW-ATTRIBUTES.js",
            "src/app/constants/SIEMENS-ISI.js",
            "src/app/constants/SIEMENS-MED.js",
            "src/app/constants/SIEMENS-MED-DISPLAY.js",
            "src/app/constants/SIEMENS-MED-DISPLAY-0000.js",
            "src/app/constants/SIEMENS-MED-DISPLAY-0001.js",
            "src/app/constants/SIEMENS-MED-ECAT-FILE-INFO.js",
            "src/app/constants/SIEMENS-MED-HG.js",
            "src/app/constants/SIEMENS-MED-MAMMO.js",
            "src/app/constants/SIEMENS-MED-MG.js",
            "src/app/constants/SIEMENS-MED-NM.js",
            "src/app/constants/SIEMENS-MED-OCS-BEAM-DISPLAY-INFO.js",
            "src/app/constants/SIEMENS-MED-OCS-PUBLIC-RT-PLAN-ATTRIBUTES.js",
            "src/app/constants/SIEMENS-MED-OCS-SS-VERSION-INFO.js",
            "src/app/constants/SIEMENS-MED-PT.js",
            "src/app/constants/SIEMENS-MED-PT-WAVEFORM.js",
            "src/app/constants/SIEMENS-MED-SMS-USG-ANTARES.js",
            "src/app/constants/SIEMENS-MED-SMS-USG-ANTARES-3D-VOLUME.js",
            "src/app/constants/SIEMENS-MED-SMS-USG-S2000.js",
            "src/app/constants/SIEMENS-MED-SMS-USG-S2000-3D-VOLUME.js",
            "src/app/constants/SIEMENS-MED-SP-DXMG-WH-AWS-1.js",
            "src/app/constants/SIEMENS-MED-SYNGO-RT.js",
            "src/app/constants/SIEMENS-MEDCOM-HEADER.js",
            "src/app/constants/SIEMENS-MEDCOM-HEADER2.js",
            "src/app/constants/SIEMENS-MEDCOM-OOG.js",
            "src/app/constants/SIEMENS-MI-RWVM-SUV.js",
            "src/app/constants/SIEMENS-MR-CM-03.js",
            "src/app/constants/SIEMENS-MR-DATAMAPPING-ATTRIBUTES.js",
            "src/app/constants/SIEMENS-MR-EXTRACTED-CSA-HEADER.js",
            "src/app/constants/SIEMENS-MR-FOR-06.js",
            "src/app/constants/SIEMENS-MR-HEADER.js",
            "src/app/constants/SIEMENS-MR-IMA.js",
            "src/app/constants/SIEMENS-MR-MRS-05.js",
            "src/app/constants/SIEMENS-MR-N3D.js",
            "src/app/constants/SIEMENS-MR-PHOENIX-ATTRIBUTES.js",
            "src/app/constants/SIEMENS-MR-PS-04.js",
            "src/app/constants/SIEMENS-MR-SDI-02.js",
            "src/app/constants/SIEMENS-MR-SDS-01.js",
            "src/app/constants/SIEMENS-MR-VA0--COAD.js",
            "src/app/constants/SIEMENS-MR-VA0--GEN.js",
            "src/app/constants/SIEMENS-MR-VA0--RAW.js",
            "src/app/constants/SIEMENS-NUMARIS-II.js",
            "src/app/constants/SIEMENS-RA-GEN.js",
            "src/app/constants/SIEMENS-RA-PLANE-A.js",
            "src/app/constants/SIEMENS-RA-PLANE-B.js",
            "src/app/constants/SIEMENS-RIS.js",
            "src/app/constants/SIEMENS-SERIES-SHADOW-ATTRIBUTES.js",
            "src/app/constants/SIEMENS-SIENET.js",
            "src/app/constants/SIEMENS-SMS-AX--ACQ-1.0.js",
            "src/app/constants/SIEMENS-SMS-AX--ORIGINAL-IMAGE-INFO-1.0.js",
            "src/app/constants/SIEMENS-SMS-AX--QUANT-1.0.js",
            "src/app/constants/SIEMENS-SMS-AX--VIEW-1.0.js",
            "src/app/constants/SIEMENS-SYNGO-3D-FUSION-MATRIX.js",
            "src/app/constants/SIEMENS-SYNGO-ADVANCED-PRESENTATION.js",
            "src/app/constants/SIEMENS-SYNGO-DATA-PADDING.js",
            "src/app/constants/SIEMENS-SYNGO-ENCAPSULATED-DOCUMENT-DATA.js",
            "src/app/constants/SIEMENS-SYNGO-ENHANCED-IDATASET-API.js",
            "src/app/constants/SIEMENS-SYNGO-EVIDENCE-DOCUMENT-DATA.js",
            "src/app/constants/SIEMENS-SYNGO-FRAME-SET.js",
            "src/app/constants/SIEMENS-SYNGO-FUNCTION-ASSIGNMENT.js",
            "src/app/constants/SIEMENS-SYNGO-INDEX-SERVICE.js",
            "src/app/constants/SIEMENS-SYNGO-INSTANCE-MANIFEST.js",
            "src/app/constants/SIEMENS-SYNGO-LAYOUT-PROTOCOL.js",
            "src/app/constants/SIEMENS-SYNGO-OBJECT-GRAPHICS.js",
            "src/app/constants/SIEMENS-SYNGO-PRINT-SERVICE.js",
            "src/app/constants/SIEMENS-SYNGO-REGISTRATION.js",
            "src/app/constants/SIEMENS-SYNGO-SOP-CLASS-PACKING.js",
            "src/app/constants/SIEMENS-SYNGO-TIME-POINT-SERVICE.js",
            "src/app/constants/SIEMENS-SYNGO-ULTRA-SOUND-TOYON-DATA-STREAMING.js",
            "src/app/constants/SIEMENS-SYNGO-VOLUME.js",
            "src/app/constants/SIEMENS-SYNGO-WORKFLOW.js",
            "src/app/constants/SIEMENS-Selma.js",
            "src/app/constants/SIEMENS-Ultrasound-S2000.js",
            "src/app/constants/SIEMENS-Ultrasound-SC2000.js",
            "src/app/constants/SIEMENS-WH-SR-1.0.js",
            "src/app/constants/SIEMENS_FLCOMPACT_VA01A_PROC.js",
            "src/app/constants/SIENET.js",
            "src/app/constants/SMIL_PB79.js",
            "src/app/constants/SMIO_PB7B.js",
            "src/app/constants/SMIO_PB7D.js",
            "src/app/constants/SPI.js",
            "src/app/constants/Siemens-Ultrasound-Miscellaneous.js",
            "src/app/constants/Siemens--Thorax-Multix-FD-Image-Stamp.js",
            "src/app/constants/Siemens--Thorax-Multix-FD-Lab-Settings.js",
            "src/app/constants/Siemens--Thorax-Multix-FD-Post-Processing.js",
            "src/app/constants/Siemens--Thorax-Multix-FD-Raw-Image-Settings.js",
            "src/app/constants/Siemens--Thorax-Multix-FD-Version.js",
            "src/app/constants/syngoDynamics.js",
            "src/app/constants/syngoDynamics_Reporting.js",
            "src/app/constants/1.2.840.113708.794.1.1.2.0.js",
            "src/app/constants/AMI-Annotations_01.js",
            "src/app/constants/AMI-Annotations_02.js",
            "src/app/constants/AMI-ImageContextExt_01.js",
            "src/app/constants/AMI-ImageContext_01.js",
            "src/app/constants/AMI-ImageTransform_01.js",
            "src/app/constants/AMI-Sequence-AnnotElements_01.js",
            "src/app/constants/AMI-Sequence-Annotations_01.js",
            "src/app/constants/AMI-Sequence-Annotations_02.js",
            "src/app/constants/AMI-StudyExtensions_01.js",
            "src/app/constants/APEX_PRIVATE.js",
            "src/app/constants/Applicare-Centricity-Radiology-Web-Version-1.0.js",
            "src/app/constants/Applicare-Centricity-Radiology-Web-Version-2.0.js",
            "src/app/constants/Applicare-Print-Version-5.1.js",
            "src/app/constants/Applicare-RadStore-Version-1.0.js",
            "src/app/constants/Applicare-RadWorks-Version-5.0.js",
            "src/app/constants/Applicare-RadWorks-Version-6.0.js",
            "src/app/constants/Applicare-RadWorks-Version-6.0-Summary.js",
            "src/app/constants/Applicare-Workflow-Version-1.0.js",
            "src/app/constants/DLX_ANNOT_01.js",
            "src/app/constants/DLX_EXAMS_01.js",
            "src/app/constants/DLX_LKUP_01.js",
            "src/app/constants/DLX_PATNT_01.js",
            "src/app/constants/DLX_SERIE_01.js",
            "src/app/constants/DL_INTERNAL_USE.js",
            "src/app/constants/GE-----From-Adantage-Review-CS.js",
            "src/app/constants/GE-Generic-Data.js",
            "src/app/constants/GE-Informatics-Data.js",
            "src/app/constants/GE-LUT-Asymmetry-Parameter.js",
            "src/app/constants/GEHC_CT_ADVAPP_001.js",
            "src/app/constants/GEIIS.js",
            "src/app/constants/GEIIS-PACS.js",
            "src/app/constants/GEIIS_IW.js",
            "src/app/constants/GEIIS_RA1000.js",
            "src/app/constants/GEMS-IT-Centricity-RA600-7.0.js",
            "src/app/constants/GEMS_0039.js",
            "src/app/constants/GEMS_3DSTATE_001.js",
            "src/app/constants/GEMS_3D_INTVL_01.js",
            "src/app/constants/GEMS_ACQU_01.js",
            "src/app/constants/GEMS_ACRQA_1.0-BLOCK1.js",
            "src/app/constants/GEMS_ACRQA_1.0-BLOCK2.js",
            "src/app/constants/GEMS_ACRQA_1.0-BLOCK3.js",
            "src/app/constants/GEMS_ACRQA_2.0-BLOCK1.js",
            "src/app/constants/GEMS_ACRQA_2.0-BLOCK2.js",
            "src/app/constants/GEMS_ACRQA_2.0-BLOCK3.js",
            "src/app/constants/GEMS_ADWSoft_3D1.js",
            "src/app/constants/GEMS_ADWSoft_DPO.js",
            "src/app/constants/GEMS_ADWSoft_DPO1.js",
            "src/app/constants/GEMS_AWSOFT_CD1.js",
            "src/app/constants/GEMS_AWSoft_SB1.js",
            "src/app/constants/GEMS_CTHD_01.js",
            "src/app/constants/GEMS_CT_CARDIAC_001.js",
            "src/app/constants/GEMS_CT_HINO_01.js",
            "src/app/constants/GEMS_CT_VES_01.js",
            "src/app/constants/GEMS_DL_FRAME_01.js",
            "src/app/constants/GEMS_DL_IMG_01.js",
            "src/app/constants/GEMS_DL_PATNT_01.js",
            "src/app/constants/GEMS_DL_SERIES_01.js",
            "src/app/constants/GEMS_DL_STUDY_01.js",
            "src/app/constants/GEMS_DRS_1.js",
            "src/app/constants/GEMS_FALCON_03.js",
            "src/app/constants/GEMS_FUNCTOOL_01.js",
            "src/app/constants/GEMS_GDXE_ATHENAV2_INTERNAL_USE.js",
            "src/app/constants/GEMS_GDXE_FALCON_04.js",
            "src/app/constants/GEMS_GENIE_1.js",
            "src/app/constants/GEMS_GNHD_01.js",
            "src/app/constants/GEMS_HELIOS_01.js",
            "src/app/constants/GEMS_IDEN_01.js",
            "src/app/constants/GEMS_IDI_01.js",
            "src/app/constants/GEMS_IMAG_01.js",
            "src/app/constants/GEMS_IMPS_01.js",
            "src/app/constants/GEMS_IQTB_IDEN_47.js",
            "src/app/constants/GEMS_IT_US_REPORT.js",
            "src/app/constants/GEMS_LUNAR_RAW.js",
            "src/app/constants/GEMS_PARM_01.js",
            "src/app/constants/GEMS_PATI_01.js",
            "src/app/constants/GEMS_PETD_01.js",
            "src/app/constants/GEMS_RELA_01.js",
            "src/app/constants/GEMS_SEND_02.js",
            "src/app/constants/GEMS_SENOCRYSTAL_V1.js",
            "src/app/constants/GEMS_SENO_02.js",
            "src/app/constants/GEMS_SERS_01.js",
            "src/app/constants/GEMS_STDY_01.js",
            "src/app/constants/GEMS_Ultrasound_ExamGroup_001.js",
            "src/app/constants/GEMS_Ultrasound_ImageGroup_001.js",
            "src/app/constants/GEMS_Ultrasound_MovieGroup_001.js",
            "src/app/constants/GEMS_VXTL_USERDATA_01.js",
            "src/app/constants/GEMS_XELPRV_01.js",
            "src/app/constants/GEMS_XR3DCAL_01.js",
            "src/app/constants/GEMS_YMHD_01.js",
            "src/app/constants/GE_GENESIS_REV3.0.js",
            "src/app/constants/GE_GROUP.js",
            "src/app/constants/KRETZ_US.js",
            "src/app/constants/Mayo-IBM-Archive-Project.js",
            "src/app/constants/QUASAR_INTERNAL_USE.js",
            "src/app/constants/REPORT_FROM_APP.js",
            "src/app/constants/RadWorksTBR.js",
            "src/app/constants/http---www.gemedicalsystems.com-it_solutions-bamwallthickness-1.0.js",
            "src/app/constants/http---www.gemedicalsystems.com-it_solutions-orthoview-2.1.js",
            "src/app/constants/http---www.gemedicalsystems.com-it_solutions-rad_pacs-.js"
        ],
        angularCli: {
            environment: 'dev'
        },
        reporters: config.angularCli && config.angularCli.codeCoverage
            ? ['progress', 'coverage-istanbul']
            : ['progress', 'kjhtml'],
        port: 9876,
        colors: true,
        logLevel: config.LOG_INFO,
        autoWatch: true,
        browsers: ['Chrome'],
        singleRun: false
    });
};
